<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerPort()+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<title>我的定制</title>
<link href="css/sharecss/share.css" type="text/css" rel="stylesheet" />
<!-- 仅用于使用里面的样式 -->
<link href="css/shoppingCarAndMyCustom.css" type="text/css"
	rel="stylesheet" />
<link href="css/myfriend_friendactivity.css" type="text/css"
	rel="stylesheet" />
<link href="css/myfriend-friendactivity_right_child.css" type="text/css"
	rel="stylesheet" />
<link rel="stylesheet" type="text/css"
	href="/webbei/js/bgjs/css/index.css" />
<link rel="stylesheet" type="text/css"
	href="swfupload/default.css" />	
<link rel="stylesheet" type="text/css" href="css/login.css" />
<link rel="stylesheet" type="text/css" href="css/custom.css" />
<link rel="stylesheet"
	href="jquery/css/ui-lightness/jquery-ui-1.9.0.custom.css" />

<!-- jpages need css -->
<link rel="stylesheet" href="css/zmcss/jPages.css" />
<link rel="stylesheet" href="css/zmcss/jPages2.css" />
<link rel="stylesheet" href="css/zmcss/jPages4.css" />

<script
	src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="jquery/js/jquery-ui-1.9.0.custom.js"></script>
<script src="js/json.js"></script>
<script type="text/javascript"
	src="js/myCustonAndShoppingCar/MyCustoms.js" charset="UTF-8"></script>
<script type="text/javascript" src="js/login.js"></script>
<!-- jpages need js -->
<script src="js/zmjs/jPages.js"></script>
<script src="js/zmjs/jPages2.js"></script>
<script src="js/zmjs/jPages4.js"></script>
<!--my method js -->
<script src="js/zmjs/myChest.js"></script>
<script src="js/zmjs/myfriend.js"></script>
<script src="js/zmjs/MyshareAndPartInShare.js"></script>
<!--swfupload need js -->
<script src="swfupload/swfupload.js"></script>
<script src="swfupload/handlers.js"></script>
<script src="swfupload/handlers3.js"></script>
<script src="swfupload/swfupload.queue.js"></script>
<script src="swfupload/fileprogress.js"></script>

<style type="text/css">
html { /* 出现滚动条 */
	overflow: scroll;
}
</style>
<script type="text/javascript">
	 
	$(document).keydown(function(event){ 
		if(event.keyCode==13&&$(document.activeElement).attr("id")=="searchinputtext"){
			searchMyRecoFriends();
		} 
	});
	function picturemouseover(){
		$("#fangxiangdiv").fadeIn(300);
	}
	function picturemouseout(){
		$("#fangxiangdiv").fadeOut(300);
	}
	function changeLoveCarPic_left(){
		$.getJSON("changeLoveCarPic.action",{
			//待定
		},function(data){
		
		},"json");
	}
	function changeLoveCarPic_right(){
		//待定
	}
</script>
</head>
<body>
	<input type="hidden" value="0" id="hiddenflag" />
	<jsp:include page="top.jsp"></jsp:include>
	<br />
		<div align="center">
			<jsp:include page="userCenter_Left.jsp"></jsp:include>
			<div style="margin-right:210px">
				<div class="myfriend_friendactivity_content_right_select"
					style="float:right">

					<div class="myfriend_friendactivity_content_right_select_order"
						style="background-color:rgb(114,1,1);">
						
						<div class="myfriend_friendactivity_content_right_select_order_up">
							<a href="javascript:void(0);" onclick="myDesign()">我的定制</a>
						</div>
						<div
							class="myfriend_friendactivity_content_right_select_order_down">
							(<a href="">${OrdersNumber+CustomsNumber}件</a>)
						</div>
					</div>
					<div class="myfriend_friendactivity_content_right_select_myshare"
						style="background-color:rgb(235,235,235);">
						<div class="myfriend_friendactivity_content_right_select_order_up">
							<a href="javascript:void(0);" onclick="myShareAll()">我的分享</a>
						</div>
						<div
							class="myfriend_friendactivity_content_right_select_order_down">
							(<a href="">${MyShareNumber}件</a>)
						</div>
					</div>
					<div class="myfriend_friendactivity_content_right_select_myfriend"
						style="background-color:rgb(235,235,235);">
						<div class="myfriend_friendactivity_content_right_select_order_up">
							<a href="javascript:void(0);" onclick="myFriendsAll()">我的好友</a>
						</div>
						<div
							class="myfriend_friendactivity_content_right_select_order_down">
							(<a href="">${FriendNumber}位</a>)
						</div>
					</div>
					<div class="myfriend_friendactivity_content_right_select_mymoney"
						style="background-color:rgb(235,235,235);">
						<div class="myfriend_friendactivity_content_right_select_order_up">
							<a href="javascript:void(0);" onclick="myChestAll()">我的金库</a>
						</div>
						<div
							class="myfriend_friendactivity_content_right_select_order_down">
							(<a href="">${UserMoney}元</a>)
						</div>
					</div>
				</div>
				<br />
				<div class="shoppingCar_subtitle">
					&nbsp;&nbsp; <a href="javascript:void(0);" onclick="showMyDesign()">我的设计</a>
					<font color="blue">（${CustomsNumber}个）</font>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="checkbox"
						onclick="checkAll()" id="checkAllbox" />全选&nbsp;|&nbsp; <a
						href="javascript:void(0);" onclick="showMyOrder()">我的订单</a> <font
						color="blue">（${OrdersNumber}个）</font>
				</div>
				<br />

				<div style="display:block;height:auto;width:612px;float:right"
					id="myDesignTable">
					<div>
						<c:forEach items="${customList}" var="s">
							<div>
								<table>
									<tr>
										<td>
											<div class="shoppingCar_right_pic" style="width:200px;height:200px">
												<img src="${s.customPic}" width="200px" height="200px" />
											</div>
										</td>
										<td>
											<div class="shoppingCar_right_pic" style="width:200px;height:200px;font-size:12px;margin-left:9px">
												主题：${s.customName}<br /> 编号：${s.customId}<br />
												价格：￥${s.customPrice}<br /> 户名：${s.userName}<br />
												电话：${customer.userMobilePhone }<br />
												地址：${customer.userAddress }<br /> <br />
												设计时间：${s.customTime_bak} <br /> <br /> <input
													type="button" value="重设计" style="border-style:dashed;"
													onclick="showCustom(${s.customId})" /> <input type="button"
													value="删除" style="border-style:dashed;"
													onclick="deleCustom(${s.customId})" />

												<c:if test="${s.idReview==1 }">
													<input type="button" value="去分享"
														style="border-style:dashed;" />
												</c:if>
												&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="checkbox"
													id="" name="checkbox_payment" value="${s.customId}" /> 付款
											</div>
										</td>
									</tr>
								</table>
							</div>
							<div>&nbsp;</div>
						</c:forEach>
					</div>
					<br /> <br /> <br /> <input type="button" value="☜ 再定制"
						style="border:1px #FFFFFF solid;" class="myCustom_mainButton"
						onclick="toNewCustom()" /> &nbsp;&nbsp;&nbsp;&nbsp; <input
						type="button" value="去付款 ☞" style="border:1px #FFFFFF solid;"
						class="myCustom_mainButton" onclick="payment()" /> <br />
				</div>
				<div id="myOrderTable"
					style="width:612px;display:none;height:auto;float:right"></div>
				<div id="friend_content_right"
					style="width:612px;height:auto;float:right"></div>
			</div>

		</div>
	<jsp:include page="bottom.jsp"></jsp:include>
</body>
</html>